<?php
//Dat che do dang nhap 1 lan 1-cho phep dang nhap 1 lan, 0-khong cho phep dang nhap 1 lan
$_ISA_ALLOW_SSO = 0;

// Xac dinh loai CSDL
// $_ISA_DB_TYPE = "ORACLE";
// $_ISA_DB_TYPE = "POSTGRES";
$_ISA_DB_TYPE = "SQL SEVER";

// Xac dinh ten user. password dang nhap DB
$_ISA_DB_USER = "sa";
$_ISA_DB_PASSWORD = "sa";

// Xac dinh ten CSDL 
$_ISA_DB_NAME = "[isa-user-chilinh]";

// Xac dinh ten server chua CSDL
$_ISA_SERVER_NAME = "DATABASE";

//////////////////////////////// CSDL LDAP ///////////////////////////////
$_ISA_LDAP_HOST = "192.168.9.123";			 // Dia chi ldap servers
$_ISA_LDAP_PORT = 389;
$_ISA_LDAP_ROOT_DN = "dc=haiphong,dc=gov,dc=vn";

// DN chua danh sach NSD
$_ISA_LDAP_USER_DN = "ou=People,o=Thanh pho Hai Phong," . $_ISA_LDAP_ROOT_DN;

// DN cua user ket noi voi LDAP de lay cac thong tin cho cac ham trong WS cua ISA-USER
$_ISA_LDAP_ISAUSER_SEARCH_DN = "cn=manager," . $_ISA_LDAP_ROOT_DN;
$_ISA_LDAP_SEARCH_PASSWORD = "123456";

// DN cua user ket noi voi LDAP de cap nhat cac thong tin 
$_ISA_LDAP_ISAUSER_UPDATE_DN = "cn=manager," . $_ISA_LDAP_ROOT_DN;
$_ISA_LDAP_ISAUSER_UPDATE_PASSWORD = "123456";

// Ten cua objectClass chua cacs doi tuong la NSD
$_ISA_LDAP_USER_OBJECTCLASS = "cpvnPerson";

// Ten cua thuoc tinh chua Username
$_ISA_LDAP_USERNAME_ATTRIBUTE = "cn";

// Ten cua thuoc tinh chua Password
$_ISA_LDAP_PASSWORD_ATTRIBUTE = "userpassword";

?>